package com.flyme.module.base.client.api;

import com.flyme.common.core.model.ResultBody;
import com.flyme.common.core.model.query.PagerInfo;
import com.flyme.module.base.client.entity.SysConditionitem;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/conditionitem/")
public interface SysConditionitemRemoteService {

    /**
     * 证书报考条件项
     */
    @PostMapping("list")
    ResultBody list(@ModelAttribute PagerInfo pagerInfo, @ModelAttribute SysConditionitem conditionitem);

    /**
     * 添加/修改
     */
    @PostMapping("/conditionitemEdit")
    ResultBody examinationEdit(@ModelAttribute SysConditionitem conditionitem);

}
